package com.ctsi.uaa.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum SourceType {
    HIAUTH("HIAUTH"),

    /**
     * 手机号码
     */
    TELECOM("TELECOM");
    final String source;

    public static SourceType value(String value) {
        switch (value) {
            case "HIAUTH":
                return HIAUTH;
            case "TELECOM":
                return TELECOM;
            default:
                return null;
        }
    }


}
